home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / src / appl / napsaterm / rlogin.h < prev    next >
C/C++ Source or Header  |  1994-05-14  |  1KB  |  50 lines

  1. /* $Id: rlogin.h,v 3.1 1994/02/25 02:03:13 ppessi Exp $
  2.  *
  3.  * rlogin.h --- interface to the remote login 
  4.  *
  5.  * Author: ppessi <Pekka.Pessi@hut.fi>
  6.  *
  7.  * Copyright (c) 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  8.  *                    Helsinki University of Technology, Finland.
  9.  *                    All rights reserved.
  10.  *
  11.  * Created      : Tue May 18 13:53:15 1993 ppessi
  12.  * Last modified: Fri Feb  4 03:20:30 1994 ppessi
  13.  *
  14.  * $Log: rlogin.h,v $
  15.  * Revision 3.1  1994/02/25  02:03:13  ppessi
  16.  * Changed the rcmd() prototype according unistd()
  17.  *
  18.  * Revision 2.0  1993/11/15  03:31:46  ppessi
  19.  * Version 2 initial revision
  20.  *
  21.  * Revision 1.3  1993/09/10  17:17:12  ppessi
  22.  * Changed passing of host in rcmd().
  23.  *
  24.  * Revision 1.2  1993/08/12  06:19:13  jraja
  25.  * Updated the email-address.
  26.  *
  27.  * Revision 1.1  1993/05/19  17:32:55  ppessi
  28.  * Initial revision
  29.  *
  30.  */
  31.  
  32. /* pty OOB commands */
  33. #define    TIOCPKT_DATA        0x00    /* data packet */
  34. #define    TIOCPKT_FLUSHREAD    0x01    /* flush packet */
  35. #define    TIOCPKT_FLUSHWRITE    0x02    /* flush packet */
  36. #define    TIOCPKT_STOP        0x04    /* stop output */
  37. #define    TIOCPKT_START        0x08    /* start output */
  38. #define    TIOCPKT_NOSTOP        0x10    /* no more ^S, ^Q */
  39. #define    TIOCPKT_DOSTOP        0x20    /* now do ^S ^Q */
  40. #define    TIOCPKT_IOCTL        0x40    /* state change of pty driver */
  41. #define    TIOCPKT_WINDOW            0x80    /* do window size */
  42.  
  43. struct winsize_packet {
  44.     unsigned char title[4];
  45.     unsigned short ws_row, ws_col;
  46.     unsigned short ws_xpixel, ws_ypixel;
  47. };
  48.  
  49. extern int errno;
  50.